package com.gourd.common.rbac.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gourd.common.rbac.entity.RbacUserRole;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * 用户角色
 *
 * @author gourd
 * @date 2019-04-02 17:26:16
 * Created by CodeGen .
 */
@Repository
public interface RbacUserRoleDao extends BaseMapper<RbacUserRole> {


    Long deleteByUserId(@Param("userId") Long userId);
}
